/*
 * InputEvent.java
 *
 * Created on 2004/11/28 +0900
 *
 * $Revision: 59 $
 * $Date: 2008-12-28 19:22:21 +0000 (Sun, 28 Dec 2008) $
 */

package org.gikolet.framework.ui.events;

import org.gikolet.framework.ui.Widget;

/**
 * @author Tetsutaro (latest modification by $Author: tetsutaro.ss $)
 * @version $Revision: 59 $ $Date: 2008-12-28 19:22:21 +0000 (Sun, 28 Dec 2008) $
 */
public class InputEvent extends ControlEvent {
    private boolean consume;

    public InputEvent(Widget source) {
	super(source);

	this.consume = false;
    }

    public void consume() {
	this.consume = true;
    }

    public boolean isConsumed() {
	return this.consume;
    }
}
